class ProfileController < ApplicationController
  def index
    @user = User.find(current_user.id)
  end
  
  def update
    @user = User.find(current_user.id)
    @user.update_attributes(params[:user])
    @user.save
    render "index"
  end
  
end
